package com.blds.mc.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stwyj
 * @since 2018-06-24
 */
public class Bg extends Model<Bg> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String icon;
    @TableField("createot_id")
    private String createotId;
    @TableField("create_time")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getCreateotId() {
        return createotId;
    }

    public void setCreateotId(String createotId) {
        this.createotId = createotId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Bg{" +
        "id=" + id +
        ", icon=" + icon +
        ", createotId=" + createotId +
        ", createTime=" + createTime +
        "}";
    }
}
